package com.atguigu.srb.core.mapper;

import com.atguigu.srb.core.pojo.entity.Dict;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 数据字典 Mapper 接口
 * </p>
 *
 * @author muzhao
 * @since 2024-08-19
 */
public interface DictMapper extends BaseMapper<Dict> {

    List<Dict> selectBydictCode(String dictCode);

    String selectDictNameByDictCodeAndValue(@Param("dictCode") String dictCode, @Param("value") Integer value);
}
